package com.holic.spring.graphql;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName GraphQLApplication
 * @Description
 * @Author Neil
 * @Date 2024/11/11 9:22
 * @Version V1.0
 **/
@RestController
@SpringBootApplication
public class GraphQLApplication {

    @RequestMapping("/")
    String home() {
        return "Hello World!";
    }

    public static void main(String[] args) {
        SpringApplication.run(GraphQLApplication.class, args);
    }

}
